package com.jiuyun.entity;

public class Student {
    int stid;
    String stname;

    public Student(int stid, String stname) {
        this.stid = stid;
        this.stname = stname;
    }

    public int getStid() {
        return stid;
    }

    public void setStid(int stid) {
        this.stid = stid;
    }

    public String getStname() {
        return stname;
    }

    public void setStname(String stname) {
        this.stname = stname;
    }

    @Override
    public String toString() {
        return "\nStudent{" +
                "stid=" + stid +
                ", stname='" + stname + '\'' +
                '}';
    }
}
